package com.kingdee.pda.ui.check_order;

import com.kingdee.pda.entity.CheckOrderDetailBean;
import com.kingdee.pda.entity.InvstatusBean;
import com.kingdee.pda.entity.OrderSubmitBean;
import com.kingdee.pda.entity.ProductOwnerBean;

import java.util.List;

public class DetailContract {

    public interface IDetailView{
        void getDetailSuccess(CheckOrderDetailBean orderDetailBean);
        void getDetailFail(String msg);

        // 库存状态
        void getInvstatusSuccess(List<InvstatusBean> list);
        void getInvstatusFail(String msg);

        void getProductOwnerSuccess(List<ProductOwnerBean> list);
        void getProductFail(String msg);

        void commitOrderSuccess(String msg);
        void commitOrderFail(String msg);

    }

    public interface IDetailPresenter {
        void getOrderDetail(String billno, String bilStatus);
        // 查询库存状态
        void getAllInvStatus();
        //查询货主
        void getProductOwner(String itemBarcode, String warehouseNum, String invstatusId, boolean invlibout);

        void commitOrder(OrderSubmitBean submitBean);
    }

}
